package bjtu.annotation.dao;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Repository;

import bjtu.annotation.entity.AuthorityBean;
import bjtu.annotation.entity.KeyWordsBean;
import bjtu.annotation.entity.OperationBean;
import bjtu.annotation.entity.StudentBean;

@Repository
public interface LabelSystemDao {
	public void insertStudent(StudentBean st);
	public List<StudentBean> selectStudent(String userid);
	public String getIpAddress(HttpServletRequest request);
	public List<AuthorityBean> selectAuthid(int authgroup);
	public List<OperationBean> selectOperation(int authid);
	public void addKeyWords(KeyWordsBean kw);
	public boolean updateUser(StudentBean st);
}
